ERL = erl
REBAR = rebar3

all: compile
co: compile
cl: clean
# prod: production

compile:
	@$(REBAR) compile

deps:
	@$(REBAR) upgrade

.PHONY: clean
clean:
	@$(REBAR) clean

eunit:
	@$(REBAR) eunit

run: compile
	@$(ERL) \
		+P 262144 \
		-name erlutils@127.0.0.1 \
		-setcookie chh626pj959rgtpn6q7xiuq8b3xa6uyq \
		-pa _build/default/lib/erlutils/ebin \
		-s erlutils start


